<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page  isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<c:forEach var="obj" items="${objs}">
    <tr title="${obj.descr}">
        <td>${obj.sysName}</td>
        <td>${obj.title}</td>
        <td>${obj.typeName}</td>
        <td>${obj.statusVal}</td>
        <td>${obj.currUserName}</td>
        <td><fmt:formatDate pattern="yyyy-MM-dd" value="${obj.modifyTime}" /></td>
        <td>
            <input type="button" class="btn" value="编辑" onclick="updateJobShow(${obj.id});"/>
            <input type="button" class="btn" value="删除" onclick="deleteJob('${obj.title}', ${obj.id}, ${pageNo});"/>
            <input type="button" class="btn" value="查看日志" onclick="addJobLogShow(${obj.id});" />
        </td>
    </tr>
</c:forEach>
<script>
    refreshPageIndex(${pageCount}, ${pageNo});

</script>